package Ch4;

/**
 * Created by Cai Ye on 2016/3/25.
 */
public class OceanWorld1Piranha extends OceanWorld1Fish {
    public OceanWorld1Piranha(String name) {
        super(name);
    }

    @Override
    public void swim() {
        System.out.printf("食人鱼 %s 游泳%n", name);
    }
}
